import Vue from 'vue'
import VueRouter from 'vue-router'

//路由
import routes from './server/routers'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-default/index.css'

import Axios from 'axios'

Vue.use(VueRouter);
Vue.use(ElementUI);
Vue.use(Axios)

const router = new VueRouter({
  routes
});

Vue.prototype.$axios = Axios;


const app = new Vue({
  router
}).$mount("#app");
